/**
 *FileName:KotlinConstants
 * Founder:Liguochao
 * Profile:Kotlin 常量
 * DSL脚本编译文件
 */

object KotlinConstants {
    //Kotlin版本
    const val kotlin_version = "1.4.10"

    //Gradle版本
    const val gradle_version = "4.1.0"

    //EventBus
    const val EVENT_BUS = "org.greenrobot:eventbus:3.2.0"
}

//module gradle config 依次类推
object AppConfig {
    const val compileSdkVersion = 29
    const val buildToolsVersion = "30.0.2"
}

//依赖库
object DependenciesConfig {
    //Kotlin基础库
    const val STD_LIB = "org.jetbrains.kotlin:kotlin-stdlib:${KotlinConstants.kotlin_version}"

    //Android标准库
    const val APP_COMPAT = "androidx.appcompat:appcompat:1.2.0"

    //Kotlin核心库
    const val KTX_CORE = "androidx.core:core-ktx:1.3.2"

    //Material design库
    const val MATERIAL_DESIGN = "com.google.android.material:material:1.2.1"

    //EventBus
    const val EVENT_BUS = "org.greenrobot:eventbus:3.2.0"

    //ARouter
    const val AROUTER = "com.alibaba:arouter-api:1.5.0"
    const val AROUTER_COMPILER = "com.alibaba:arouter-compiler:1.2.2"

    //RecyclerView
    const val RECYCLERVIEW = "androidx.recyclerview:recyclerview:1.2.0-alpha01"

    //Permission
    const val PERMISSION = "com.yanzhenjie:permission:2.0.3"

    //Retrofit
    const val RETROFIT = "com.squareup.retrofit2:retrofit:2.8.1"
    const val RETROFIT_GSON = "com.squareup.retrofit2:converter-gson:2.8.1"

    //lifecycle
    const val LIFECYCLE = "androidx.lifecycle:lifecycle-extensions:2.1.0"
    const val LIVEDATA = "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0"

    //Jetbrains
    const val JETBRAINS = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0"
    const val JETBRAINS_ANDROID = "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1"

    //ViewPager
    const val VIEWPAGER="com.zhy:magic-viewpager:1.0.1"

    //Lottie动画
    const val LOTTIE="com.airbnb.android:lottie:3.4.0"
}

//Module配置
object ModuleConfig {
    //Module是否App
    var isApp = true

    //包名
    const val MODULE_APP_MANAGER = "com.kotiln.lgc.module_app_manager"
    const val MODULE_CONSTELLATION = "com.kotiln.lgc.module_constellation"
    const val MODULE_DEVELOPER = "com.kotiln.lgc.module_developer"
    const val MODULE_JOKE = "com.kotiln.lgc.module_joke"
    const val MODULE_MAP = "com.kotiln.lgc.module_map"
    const val MODULE_SETTING = "com.kotiln.lgc.module_setting"
    const val MODULE_VOICE_SETTING = "com.kotiln.lgc.module_voice_setting"
    const val MODULT_WEATHER = "com.kotiln.lgc.module_weather"
}
